package com.woniuxy.config.work;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: 马宇航
 * @Todo: TODO
 * @DateTime: 25/08/29/星期五 15:32
 * @Component: 成都蜗牛学苑
 **/
@Configuration
public class WorkMQConfig {
    @Bean
    public Queue workQueue(){
        return new Queue("work_queue");
    }
}
